<?php 
/**
 * 订单列表控制器
 */
class OrdersListController extends AuthController{
	private $model;
	public function __init(){
		parent::__init();
		$this->model = K('OrdersList');
		
	}
	
	/**
	 * 加载订单列表页
	 */
	public function index(){
		$oid = Q('get.oid',0,'intval');
		$data = $this->model->where("orders_oid={$oid}")->all();
		$this->assign('data',$data);
		$this->display();
	}
	
	
	
	
	
	
}















 ?>